// for date picker

		$( "#from" ).datepicker({
            defaultDate: "+1w",
            changeMonth: true,
            numberOfMonths: 1,
            onClose: function( selectedDate ) {
                $( "#to" ).datepicker( "option", "minDate", selectedDate );
            }
        });
        $( "#to" ).datepicker({
            defaultDate: "+1w",
            changeMonth: true,
            numberOfMonths: 1,
            onClose: function( selectedDate ) {
                $( "#from" ).datepicker( "option", "maxDate", selectedDate );
            }
			
        });
		// for dialog box
// increase the default animation speed to exaggerate the effect
	$.fx.speeds._default = 400;
	$(function() {
		$( "#dialog" ).dialog({
			autoOpen: false,
			show: "blind",
			hide: "explode"
		});
		$( "#open_dialog" ).click(function() {
			$( "#dialog" ).dialog( "open" );
			return false;
		});
		// for popover
		$('.my-button').popover({header: '.my-popover > .header',
    content: '.my-popover > .content'});


		
	});
	